package com.itheima.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.pojo.CmsSubject;

import java.util.List;

/**
 * @author 袁鹏
 * @date 2022-10-14-8:29
 */
public interface CmsSubjectApi {
    Page<CmsSubject> page(String keyword, Integer pageNum, Integer pageSize);

    List<CmsSubject> listAll();
}
